import request from '@/utils/request'

// 查询指标名称匹配列表
export function listPcwDetailsMatch(query) {
  return request({
    url: '/pcw/pcwDetailsMatch/list',
    method: 'get',
    params: query
  })
}

// 查询指标名称匹配详细
export function getPcwDetailsMatch(id) {
  return request({
    url: '/pcw/pcwDetailsMatch/' + id,
    method: 'get'
  })
}

// 保存指标名称匹配
export function savePcwDetailsMatch(data) {
  return request({
    url: '/pcw/pcwDetailsMatch/save',
    method: 'post',
    data: data
  })
}

// 删除指标名称匹配
export function delPcwDetailsMatch(id) {
  return request({
    url: '/pcw/pcwDetailsMatch/' + id,
    method: 'delete'
  })
}

// 导出指标名称匹配
export function exportPcwDetailsMatch(query) {
  return request({
    url: '/pcw/pcwDetailsMatch/export',
    method: 'get',
    params: query
  })
}
